//
//  AppDelegate.m
//  GDWeiboNJ
//
//  Created by zhouguodong on 15/4/3.
//  Copyright (c) 2015年 shuanyuan. All rights reserved.
//

#import "AppDelegate.h"
#import "GDViewController.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{

    // 1、初始化自定义log
    // Standard lumberjack initialization
    [DDLog addLogger:[DDTTYLogger sharedInstance]];
    
    // And we also enable colors
    [[DDTTYLogger sharedInstance] setColorsEnabled:YES];
    
    // 2、创建window
    self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor = [UIColor whiteColor];
    
    // 3、创建根控制器
    GDViewController *tb = [[GDViewController alloc]init];
    self.window.rootViewController = tb;

    // 5、显示窗口
    [self.window makeKeyAndVisible];
    return YES;
}







@end
